﻿// AtlObject.cpp: CAtlObject 的实现

#include "pch.h"
#include "AtlObject.h"
#include <stdio.h>
#include <tchar.h>

// CAtlObject

STDMETHODIMP CAtlObject::Test()
{
    CComCriticalSection c1;
    CComAutoCriticalSection c2;
    CComSafeDeleteCriticalSection c3;
    CComAutoDeleteCriticalSection c4;

    CComCritSecLock<CComSafeDeleteCriticalSection> c5(c3);

    return S_OK;
}
